package transfer;

import java.util.ArrayList;

/**
 * Class which represents group entity. This class used for transfer operations;
 *
 * @author Vadym Gula
 * @author Oleh Tarapata
 */
public class Group {

    private Integer idGroup;
    private String nameGroup;
    private ArrayList users;

    public Group() {
    }

    public Group(Integer idGroup, String nameGroup) {
        this.idGroup = idGroup;
        this.nameGroup = nameGroup;
    }

    public Integer getIdGroup() {
        return idGroup;
    }

    public void setIdGroup(Integer idGroup) {
        this.idGroup = idGroup;
    }

    public String getNameGroup() {
        return nameGroup;
    }

    public void setNameGroup(String nameGroup) {
        this.nameGroup = nameGroup;
    }

    public ArrayList getUsers() {
        return users;
    }

    public void setUsers(ArrayList users) {
        this.users = users;
    }
}
